home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Saar AMOK 2
/
Saar AMOK II - Oktober 1994 (1994)(Kreativ Marketing)(DE)[!][I-7598].iso
/
disks
/
651_700
/
663
/
mathplot
/
macros
/
test15.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-01-01
|
1KB
|
63 lines
/* test setcolor/getcolor */
address "MPlot_ARexx"
options results
getcolor textcolor textcolorback textmode axiscolor axiscolorback axismode stem a.
say "Color: FrontPen, BackPen, Mode"
say a.textcolor a.textcolorback a.textmode
say a.axiscolor a.axiscolorback a.axismode
setcolor axiscolor 3 axiscolorback 2 axismode 1
setcolor plotcolor 1
plot 0 normal
/*showaxis*/
setcolor textcolor 2 textcolorback 1 textmode 1
do i=1 to 10
xpos = i*15
ypos = i*15+5
text 'text "Dies ist ein TEST " xpos' xpos ' ypos ' ypos
end
say
exit
/* Test of (get)font */
say "Active Fonts: "
getfont stem a.
say "Name " a.name
say "Size " a.size
say "Bold " a.bold
say "italics " a.italics
say "underline " a.underline
getfont "axisfont=ON stem a."
say "Name " a.name
say "Size " a.size
say "Bold " a.bold
say "italics " a.italics
say "underline " a.underline
say
/* Get a new font */
do i=1 to 10
xpos = i*15+20
ypos = i*15+100
font "times.font" 2*i+12 bold italic
text 'text "Dies ist ein TEST 'i+8'" xpos' xpos ' ypos ' ypos
/*
getfont stem a.
say "Name " a.name " Size " a.size
*/
end
/* Set a new axisfont */
font 'axisfont=on "courier.font" 20 bold underline'
showaxis